package com.n5x.service;

import com.n5x.model.discount.DiscountCash;
import com.n5x.model.discount.DiscountCashExample;
import com.n5x.model.discount.DiscountGift;
import com.n5x.model.discount.DiscountGiftExample;

import java.util.List;

/**
 * Created by Administrator on 2017/9/22.
 */
public interface IDiscountService {

    // DiscountCash
    DiscountCash saveDiscountCash(DiscountCash discountCash);

    List<DiscountCash> findDiscountCashList(DiscountCashExample.Criteria criteria);

    DiscountCash findDiscountCash(String id);

    //discountGift
    DiscountGift saveDiscountGift(DiscountGift discountGift);

    List<DiscountGift> findDiscountGiftList(DiscountGiftExample.Criteria criteria);

    DiscountGift findDiscountGift(String id);
}
